
<h3>Commentaires</h3>

    <?php foreach ($blog_comments as $blog_comment): ?>

<div class="post">
                                
                                <small></small><p class="byline">Posté le  <?php echo $blog_comment->getDateTimeObject('created_at')->format('d/m/Y') ?> par <a href="#"><?php echo $blog_comment->getSfGuardUser()->getUserName() ?></a> </p></small>
                                <div class="entry">
                                        <?php echo simple_format_text($blog_comment->getRawValue()->getComm()) ?>
                                        
                                        
                                   
                                </div>
                        </div>
<?php endforeach; ?>
<?php   if ($sf_user->isAuthenticated()): ?>
 <form action="<?php echo url_for('@comm-form') ?>" method="post">
  <table>
    <?php echo $form2 ?>
  </table>
  <input type="submit" value="Envoyer" />
</form>
<?php endif ?>
